package com.xszx.service.impl;

import com.xszx.entity.Student;
import com.xszx.service.StudentFunction;

public class StudentFunctionImpl implements StudentFunction{

	@Override
	public void admission(Student student[][]) {
		System.out.println();
		System.out.println("学生入场");
		for(Student s[]:student){
			System.out.println(s[0].getDepartment());
			for(Student ss:s){
				System.out.print("\t"+ss.getName());
			}
			System.out.println();
		}
	}

	@Override
	public void dance(Student student[]) {
		System.out.println();
		System.out.println("舞蹈演员开始表演");
		for(Student s:student){
			System.out.print("\t"+s.getName());
		}
		System.out.println("表演了孔雀开屏舞蹈");
	}

	@Override
	public void raisingNationalFlag(Student[] students) {
		System.out.println(students[0].getClasses());
		System.out.print("\t");
		for(Student s:students){
			System.out.print(s.getName()+"\t");
		}
		System.out.println();
		System.out.println("\t进行了升旗仪式");
	}

	@Override
	public void speech(Student student) {
		System.out.println();
		System.out.println(student.getName()+"说金风送爽,天高云淡,在这个春暖花开的季节,吕梁学院全体师生欢聚一起,举行2021年春季运动会");
	}

	
}
